﻿using EtherCAT.NET.Infrastructure;
using System;

namespace Jodell.Transport.Ethercat.Esi
{
    public class SubItem
    {
        public UInt16 Index { get; set; }
        public byte SubIdx { get; set; }
        public string Name { get; set; }
        public string Type { get; set; }
        public string Comment { get; set; }
        public int BitSize { get; set; }
        public int BitOffs { get; set; }
        public SubItemTypeFlags Flags { get; set; }
        /// <summary>
        /// 是否可见
        /// </summary>
        public bool Visibility { get; set; } = true;
    }
}
